<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../reset.css">
    <link rel="stylesheet" href="./04.css">
</head>
<body>
    <div id="app">
        <ul class="strip-loading">
            <li style="--line-index: 1;"></li>
            <li style="--line-index: 2;"></li>
            <li style="--line-index: 3;"></li>
            <li style="--line-index: 4;"></li>
            <li style="--line-index: 5;"></li>
            <li style="--line-index: 6;"></li>
        </ul>
    
        <ul class="gradient-circular" style="--line-count: 360;">
            <li :style="{'--line-index': item}" v-for="(item, index) in 360" :key="index"></li>
        </ul>
    </div>


    <script src="../vue.js"></script>
    <script>
         const Counter = {
            data() {
                return {
                    counter: 0,
                    title:'world'
                }
            },
            mounted() {
                setInterval(() => {
                    this.counter++;
                }, 1000)
            },
        }

        // 和2.0创建的区别
        Vue.createApp(Counter).mount('#app');
    </script>
</body>
</html>
